package com.frame.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 双色温属性表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`device_ssw_property`")
public class DeviceSswProperty extends BaseClassEntity {
    /**
     * 设备Id
     */
    @TableField(value = "`zigbee_mac`")
    private String zigbeeMac;

    /**
     * 持续时间
     */
    @TableField(value = "`duration`")
    private Integer duration;

    /**
     * 快捷属性json
     */
    @TableField(value = "`shortcut_settings`")
    private String shortcutSettings;

    /**
     * 延时时间
     */
    @TableField(value = "`delay_time`")
    private Integer delayTime;

    /**
     * 设置的亮度
     */
    @TableField(value = "`brightness`")
    private Integer brightness;

    /**
     * 设置的颜色（冷，暖）
     */
    @TableField(value = "`colorTemperature`")
    private Integer colortemperature;
}